package refactor.changebidirectionalassociationtounidirectional;

public class Client {
    public void clientMethod() {
        Customer daynaBaby = new Customer("daynaBaby");
        Order order1 = new Order("1");
        daynaBaby.addOrder(order1);
        Order order2 = new Order("2");
        daynaBaby.addOrder(order2);
        System.out.println(daynaBaby.state());
        System.out.println(order1.state(daynaBaby));
        System.out.println(order2.state(daynaBaby));
    }

    public static void main(String[] args) {
        new Client().clientMethod();
    }
}
